package model.core.code;

public class MethodToken {
	private int tokenID;
	private String signature;
	
	public MethodToken(String methodName) {//, List<TypeEntrance> args) {
		tokenID = -1;
		//init signature
		signature = "[" + methodName + "]";
//		signature += "[";
//		for(TypeEntrance te : args) {
//			signature += te.getName() + ",";
//		}
//		if(signature.endsWith(",")) {
//			signature = signature.substring(0, signature.length() - 1);
//		}
//		signature += "]";
//		if(returnType == null) {
//			signature += "[void]";
//		} else {
//			signature += "[" + returnType.getName() + "]";
//		}
	}
	
	public void setTokenID(int id) {
		this.tokenID = id;
	}
	
	public int getTokenID() {
		return tokenID;
	}
	
	public String getSignature() {
		return signature;
	}
}
